package Modelo;

public class PsOrgContact extends BaseModelo
{
  private static String tableName = "PS_ORG_CONTACT";
  private static EstructuraFila estructuraFila = new EstructuraFila();

  public static void setEstructuraFila(EstructuraFila aEstructuraFila)
  {
    estructuraFila = aEstructuraFila;
  }

  public static String getTableName()
  {
    return tableName;
  }

  public static EstructuraFila getEstructuraFila()
  {
    return estructuraFila;
  }

  public PsOrgContact(String ext_org_id)
  {
    blanquearCamposObligatorios(estructuraFila);

    setExt_org_id(ext_org_id);
  }

  public void setExt_org_id(String ext_org_id) {
    asignarCampo("EXT_ORG_ID", ext_org_id);
  }

  public void setOrg_contact(String org_contact) {
    asignarCampo("ORG_CONTACT", org_contact);
  }

  public void setEmplid(String emplid) {
    asignarCampo("EMPLID", emplid);
  }

  public void setContact_name(String contact_name) {
    asignarCampo("CONTACT_NAME", contact_name);
  }

  public void setJobtitle(String jobtitle) {
    asignarCampo("JOBTITLE", jobtitle);
  }

  public void setOrg_location(String org_location) {
    asignarCampo("ORG_LOCATION", org_location);
  }

  public void setOrg_department(String org_department) {
    asignarCampo("ORG_DEPARTMENT", org_department);
  }

  public void setEmailid(String emailid) {
    asignarCampo("EMAILID", emailid);
  }

  public void setOrg_contact_type(String org_contact_type) {
    asignarCampo("ORG_CONTACT_TYPE", org_contact_type);
  }

  public void setUrl_address(String url_address) {
    asignarCampo("URL_ADDRESS", url_address);
  }

  public void setChg_other(String chg_other) {
    asignarCampo("CHG_OTHER", chg_other);
  }

  public AtributoValor getExt_org_id() {
    return obtenerAtributoValor("EXT_ORG_ID");
  }

  public AtributoValor getOrg_contact() {
    return obtenerAtributoValor("ORG_CONTACT");
  }

  public AtributoValor getEmplid() {
    return obtenerAtributoValor("EMPLID");
  }

  public AtributoValor getContact_name() {
    return obtenerAtributoValor("CONTACT_NAME");
  }

  public AtributoValor getJobtitle() {
    return obtenerAtributoValor("JOBTITLE");
  }

  public AtributoValor getOrg_location() {
    return obtenerAtributoValor("ORG_LOCATION");
  }

  public AtributoValor getOrg_department() {
    return obtenerAtributoValor("ORG_DEPARTMENT");
  }

  public AtributoValor getEmailid() {
    return obtenerAtributoValor("EMAILID");
  }

  public AtributoValor getOrg_contact_type() {
    return obtenerAtributoValor("ORG_CONTACT_TYPE");
  }

  public AtributoValor getUrl_address() {
    return obtenerAtributoValor("URL_ADDRESS");
  }

  public AtributoValor getChg_other() {
    return obtenerAtributoValor("CHG_OTHER");
  }

  static
  {
    estructuraFila.adicionar("EXT_ORG_ID", "S", true, "getExt_org_id");
    estructuraFila.adicionar("ORG_CONTACT", "N", true, "getOrg_contact");
    estructuraFila.adicionar("EMPLID", "S", true, "getEmplid");
    estructuraFila.adicionar("CONTACT_NAME", "S", true, "getContact_name");
    estructuraFila.adicionar("JOBTITLE", "S", true, "getJobtitle");
    estructuraFila.adicionar("ORG_LOCATION", "N", true, "getOrg_location");
    estructuraFila.adicionar("ORG_DEPARTMENT", "N", true, "getOrg_department");
    estructuraFila.adicionar("EMAILID", "S", true, "getEmailid");
    estructuraFila.adicionar("ORG_CONTACT_TYPE", "S", true, "getOrg_contact_type");
    estructuraFila.adicionar("URL_ADDRESS", "S", true, "getUrl_address");
    estructuraFila.adicionar("CHG_OTHER", "S", true, "getChg_other");
  }
}